<!-- inc:global_head -->
<!-- inc:right.css -->
<!-- inc:right.head -->
<div class="table2">
	<a href="admin.php?file=index">系统首页</a>
	&raquo; 销售网络
	&raquo; 编辑内容
	<input type="button" value="内容列表" onclick="qgurl('admin.php?file=dealer_rg&act=list');">
</div>

<form name="qgform" id="qgform" action="admin.php?file=dealer&act=modifyok&id=<?php echo $id; ?>" method="post" onsubmit="return add_msg();">

<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
	<td class="left">经销商名称：<span style="color:red;">*</span></td>
	<td class="right">
		<input type="text" name="name" id="name" class="long_input" value="<?php echo $rs["name"]; ?>">
	</td>
</tr>
</table>
</div>

<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
<table width="100%">
<tr>
	<td class="left">介绍:</td>
	<td class="right">
		<textarea style="height:300px;width:500px;" name="content" id="content"><?php echo $rs["content"]; ?></textarea>
	</td>
</tr>
</table>
</div>

<div class="table">
<table width="100%">
<tr>
	<td class="left">&nbsp;</td>
	<td class="right"><input type="submit" id="creat_button" class="mybutton_01 smt" value="编辑信息"> &nbsp; <span id="show_step" style="color:red;"></span></td>
</tr>
</table>
</div>

</form>

<script type="text/javascript">
//js脚本
function modify_msg()
{
	var subject = $("subject").value;
	if(!subject)
	{
		alert("主题不允许为空");
		return false;
	}
	var cateid = $("cateid").value;
	if(cateid == 0)
	{
		alert("分类ID不能为空或0！");
		return false;
	}
	$("show_step").innerHTML = "<img src='images/loading.gif' border='0' align='absmiddle'> 正在保存数据，如果网页没有动静请刷新...";
	$("creat_button").disabled = true;
}

function opencloseGJ(){
    $("GJ").style.display = $("GJ").style.display == "none"?"block":"none";
}
</script>

<!-- inc:foot -->